public class Text {
    public static void main(String[] args) {
        String s = "123";
        int i = Integer.parseInt(s);

        int e = 123;
        String r = Integer.toString(e);

        System.out.println(i+1);
        System.out.println(r+1);
    }
}
